<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<!-- Bootstrap -->
<link href="${pageContext.request.contextPath}/javascript/bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/javascript/bootstrapvalidatr/css/bootstrapValidator.css" rel="stylesheet">
<script src="${pageContext.request.contextPath}/javascript/jQuery-1.12.4.js"></script>
<script src="${pageContext.request.contextPath}/javascript/bootstrap/js/bootstrap.js"></script>
<script src="${pageContext.request.contextPath}/javascript/bootstrapvalidatr/js/bootstrapValidator.js"></script>
<body>

	<form action="FileServlet?op=upload" method="POST" enctype="multipart/form-data">
		<div class="form-group" style="width: 240px;">
			<label for="fileName">文件名:</label> 
			<input type="text" class="form-control" id="fileName" name="fileName"/>
		</div>
		<div class="form-group">
			<label for="myFile">上传文件:</label> 
			<input type="file" id="myFile" name="myFile" /> <br />
		</div>
		<div class="form-group" style="width: 240px;">
			<label for="fileDesc">文件描述:</label>
			<textarea rows="6" class="form-control" cols="21" id="fileDesc" name="fileDesc"></textarea> <br />
		</div>	
 		
		<input type="submit" class="btn btn-default" value="上传文件" />
		<input type="reset" class="btn btn-default" value="重置数据" />
		
	</form>


</body>
</html>